package com.ydj.framework.mysql;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

@Getter
@Setter
@ToString
@MappedSuperclass
public class BaseLogicDeleteEntity extends BaseEntity {
    /**
     * 是否已删除
     */
    @Column(columnDefinition = "bit default 0 comment '逻辑删除'")
    protected Boolean del;
}